<template>
  <div id="app">
    <mt-header fixed title="LQY项目"></mt-header>
    <router-view/>
    <!-- 底部开始 -->
    <nav class="mui-bar mui-bar-tab">
        <router-link :to="{name:'home'}" class="mui-tab-item " href="#tabbar">
            <span class="mui-icon icon-shouye"></span>
            <span class="mui-tab-label">首页</span>
        </router-link>
        <router-link :to="{name:'member'}" class="mui-tab-item" href="#tabbar-with-chat">
            <span class="mui-icon icon-huiyuan"></span>
            <span class="mui-tab-label">会员</span>
        </router-link>
        <router-link :to="{name:'shopcart'}" class="mui-tab-item" href="#tabbar-with-contact">
            <span class="mui-icon icon-goods"></span>
            <span class="mui-tab-label">购物车</span>
        </router-link>
        <router-link :to="{name:'search'}" class="mui-tab-item" href="#tabbar-with-map">
            <span class="mui-icon mui-icon-search"></span>
            <span class="mui-tab-label">查找</span>
        </router-link>
    </nav>
        <!-- 底部结束 -->
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 40px;
}
</style>
